package com.is.demo.security.controller;

import cn.hutool.core.util.StrUtil;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Will
 */
@Slf4j
@RestController
@RequestMapping(value = "/springboot/security")
public class AppController {

    @RequestMapping(value = "getstr")
    public String getStr(String str) {
        return StrUtil.format("测送SpringSecurity---{}", str);
    }

}
